package com.rop.znyx.vo.activity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel(description = "秒杀商品信息")
public class SecKillSkuVo implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 秒杀商品主键id
	 */
	@ApiModelProperty(value = "秒杀商品主键id")
	private Long SecKillSkuId;

	/**
	 * skuId
	 */
	@ApiModelProperty(value = "skuId")
	private Long skuId;

	/**
	 * spu名称
	 */
	@ApiModelProperty(value = "spu名称")
	private String skuName;

	/**
	 * 展示图片
	 */
	@ApiModelProperty(value = "展示图片")
	private String imgUrl;

	/**
	 * 秒杀价格
	 */
	@ApiModelProperty(value = "秒杀价格")
	private BigDecimal SecKillPrice;

	/**
	 * 秒杀总量
	 */
	@ApiModelProperty(value = "秒杀总量")
	private Integer SecKillStock;

	/**
	 * 每人限购数量
	 */
	@ApiModelProperty(value = "每人限购数量")
	private Integer SecKillLimit;

	/**
	 * 秒杀销量
	 */
	@ApiModelProperty(value = "秒杀销量")
	private Integer SecKillSale;

	/**
	 * 场次名称
	 */
	@ApiModelProperty(value = "场次名称")
	private String timeName;

	/**
	 * 每日开始时间
	 */
	@ApiModelProperty(value = "每日开始时间")
	@JsonFormat(pattern = "HH:mm:ss")
	private Date startTime;

	/**
	 * 每日结束时间
	 */
	@ApiModelProperty(value = "每日结束时间")
	@JsonFormat(pattern = "HH:mm:ss")
	private Date endTime;

	/**
	 * 场次状态 1：已开抢 2：抢购中 3：即将开抢
	 */
	@ApiModelProperty(value = "场次状态 1：已开抢 2：抢购中 3：即将开抢")
	@TableField(exist = false)
	private Integer timeStatus;

}